got scores and user_scores. clean up algorithm, and structure data into single data structure