Interface changes: added margins to code bolck