added margin to rev class