some pi changes