replaced directions with move and turn actions