Ran VS Code Analysis and made appropriate changes. Suppressed unnecessary warnings