changed $index to $number