add 'remove_margin' function