added margin option