functions to make some nice graphs