Added default graph function