inArray apparently gives an index