Set variable to first
Refactor template