adding magic method __get()