updated to smaller margins