working on business rules