indented template, deleted unnecessary code