add two methods to implement the singleton pattern