develop business logic: category