added maximum temperature