more javascript/less pythonic function names