Midified code and reports