added pi example