getting rid of nonsense