move template stuff in initMethod