added past due query