#code refactoring cat