only renaming variable
Fix output (sorted by due date) by AJ