Updated business logic example to fit preferred style.