exposing some internals