updated code to 13 TeV analysis