Added a case for margin