Added a new statement to clean up the next piece since was leaving trails of the old ones, as above.
Now am thinking how could i clean up the top area, probably with an if vertical position < startareaY or similar
(the next piece part has already been cleaned up)