template jiggling