updated code block design