Added example of protected methods