complete function moveDown