cleanCode fixed code