creating analysis and dashboard