get margins