changing temperature and energy from text to int