added an instance variable @character