MagPiClient defined