Implemented report.

NOTE: Not tested, due to lack of time. Probably works, but needs a test