added arrow transformation