Changed input arg "tempot" to "temp" to reflect is double nature via optT