Removed JS versions of code so it's just Python