first step for the template