Formatting code to fit within box