make margin configurable