Update for style and spelling
updated code with styling and spelling
merging polished code