[FIX] code after reading book Clean Code