Changed getInstance with static modifier