Removed inArray method