Move this into a new method "print task names" or so.