edits to report analysis functions