Shifted server to MPSG,added return values: client