fixed errors, added arrow