simple function to list elements in pnset