got rid of extraneous grid output from a few functions