and generates detailed report in