crazy fragile add task functionality