Added motion.c