Removed unnecesary taskfn line