Added distance to PI and comments