template for a complex job