putting extends on top of template