added reporting functionality