variables changes

asce characters don't like internet pasting and temp needs to be a
global variable