practice making class methods and instance variables