refactor core/adapter