Fixed some code blocks and indentation