refactor credit grade model