Elaborating on apd, starting pi.