added sentiment score function, next display it in the app