low level functions added to tmex api to allow read/write