added function to add report