setup a method to calculate which task are due within 3 days