change instance variables to attribute reader methods