Add check to temperature exercise