minor modification to return temperatures as floats