add check move logic