added temperature matrix