adding templates all over the place