inefficient trace