refactor: _check