Implemented RandQS