reorganized template