p2: new html and ref