some internals documented