nit: taskname feels like a more appropriate variable name here.