adding character controller