removed unneeded instance variables.