template related newbie mistake