working on python client