Added code for oneway arrows (new engine)