moves left and right, and removed bugs