made an instance variable to associate an entry with a class