change the name of findTaskFromList and findTask