tidy up code to generate performance list