added consolidated_penalties function for penalty processing