better output squashing