initial version of the trace generator