read first 2 chapters of _clean code_. changed almost everything. All tests pass