moved remove parent into function
user can complete a task and have it move to the complete section