Fixes #21 to set the end and begin arrow