Oops, should have been "output = ..." not "out = ..." in the last commit.