got adding tasks but it duplicates teh list. It's likely the logic.