fixed up the Character class