Fix breakage
Rename p1
Rename p2
add licence