Code for more graphs