inArray changed to inArrayLoose