add function moveLeft