another way to call private and protected methods