Added settable margins