work with domain classes