p-n in nice format