some updates and print outs to debug the pu variable