minor api tweak