added get_unblocked_pos