pi.c version 1.0