Re-Built Python Implementation