cloned thermal api