start pseudocode for l3_p9