add function for adding performance data.