started py implementation