adding data to db working now
trying to gret past results to generate statistics