Added report and pattern matching
Changed