add support of pydiction