added shorter pandigital method