smells and 50 lines of code