got code to generate performance plots