changed order of report and storing such that it works