domains implemented
domains functions implemented, no tests yet