Transferred first pdf
Some clean up of variable names