refactor cnt...