refactor to add one more report type.