first version of trace model