(IMPROVE) Implement semi-colon and function scoping and graceful exits
(IMPROVE) Implement semicolons and function scoping
(FIX) Redundant line