Add domain logic