added moving square by square