domain patterns