Created domain logic example