creditrow refactored