pre- rating card refactoring