assign $startNumber and $endNumber instead of $member index