Added insert range and rands.