added originalIndex property