adding setter method of dealing with Singleton.