updated clean code