provide example to define domain