Implemented relative margins