nearly finished. just need to deal with overdue and date formatting