completed generate most popular and generate checked out report
functions