replace self with static