added report functionality