reducing size of output