i forgot to add a doreport code in mainActivity code. this is the
correct one