small api changes