add report functionality