minor changes, added potential temp
revamp in progress