add exercise layout to code