more conversion from Python done