made corrections to cod

typos and layout