add some moving logic