Handled multiple graphs