But as one was felling a beam the axhead fell into the water and he cried and said Alas my master for it was borrowed

Could you correct the punctuation please?
But as one was felling a beam, the ax-head fell into the water; and he cried, and said, Alas, my master! for it was borrowed.