add degree back to template