added better tracking for movement