metoda move i distanceto