added multiple plotting