revet code