added ensure movement functionality