simplified trace collecting