clean code and clean logic, part 1