Checking movement, third part, added comments