Beyond pythagoras