pie improvements