added a modified sample thing for moving a character around