added some code and report text