why is singleton pattern used - Search