Updated definition of character object