error: reference to unbound variable: p entry (ambig6.l1:2)