getting rid of detritus