changed perrys file into a tex file