Beginning sequence trace code