added pathMove functionality