very basic brainstem api