modifying createchar