selection + insertion done