Checking movement, second part, buggy