update for clean code