completed
Merge pc18.cpp