made some changes to the way we retrieve temperature and potential. not finished, more work needed.