added multiple graphs finally