commit p2 code