adding report functionality