added arrow to edges