Add pi function for profiling