Added Report_a_defect functionality