simplified trace generation