Hooking up new version of credit. Still needs unit tests accounting for the fact that it sort of needs sequence, and also it needs to work