fixed the key mover example, no-loop function is still broken in this one