move logic added