refactored a bunch of stuff into implicit classes
challenge 9 done