inArray returns index position