tasks array is being applied, so a trailing function is just extra code