support multiple occurrences of activities