Comments, Refactoring and Helper Functions