working credit model