changed float based temprature to byte struct