put into template format