Domains

domains support - see example in issue #73