and how to check if it was moving?