better implementation of pegasus governor from Perseus-S3