refine structure and add riposte benchmark