reorg and fooling with templates