generate protocol to communicate with credit manager