minor api enchancement