added working code for moving left