self keyword added to method definition