margin checks