implemented performance monitor