got rid of unnecessary instance variable