added assume default domain function
changed check to module.boolean
added the default domain routine