Reverted changes to the formatting of addArrow method