extend Python interface