some minor api changes