taking out the empty reduce thingies