all code is written and appears bug-free;
TODO: compartmentalize the main() method into it's own class;