further extend Python interface