Added fallback value of 0 for margins