removing code from eventual template