added score functionality
added score functionality