add main business logic.