added arrow control