working without self method ,calling all the methods with the instance variable