Now margins are also generated i same manner as paddin