adjusted spacing in code lines to make easier to read