Finished reporting and changed several functions.