Doing motion with codes.