add template-market code