function avg(x, y) { return (x + x)/2; }