Proper P1 code