refactor: trace