adding optional params to generate various graphs