Report generation working