renamed pi to dumbledore to respect the harry potter naming convention