end of night commit, have maximum credits per group implemented