now handles multiple thermometers
deleted unused code
got fold-based design to pass high level tests