converted parameters to python