business logic docs