support multiple Y vectors