adding multiple extents support