added case to retrieve all done tasks