#decoupling business logic