added lasttrace