adjusted figure and logic in order to move the figure over the field