combination check
arrays to lists