use method for getInstance