id's added to credit calc