for trace