multiple graphs working