add get properties and magic method example