changed getInstance() to of()