implemented rudimentary scoring