code for temperature conversion now compiling