process implementation of character controller