replacing items with tasks