final template. only minor cosmetic changes from now on