Putting the logic that routes requests to the correct formatting funciton into its own funciton
Making indentation compliant with pep8
Some committee basics with a test