Feature domain as parameter6

Needs review and testing.