added a method to delete non-gridline pieces