added tracking code in differences