cleaned up adding transcript code