trying out serial methods to remove garbage