sample changed to support multiple aspects