work on generating the pent/hex data