get the margin as well