pi work