Adding refactor to cb recommendations