cleaned up example001.c