added method to retrieve all tasks in storage