implemented selection unwrapping