support multiple rights (closes #7)