work index as template