shorten motion routine, change long to int