Examples for using domains