removed unnecessary instance variables