better trace snippet