Credit agreement definition