Modified template graph