Added code for PASSABLE_NORTH and PASSABLE_SOUTH