Modified templates to work with new format (arrays of workers)