Finished pi.c