expand_direction is_direction opposite_direction