started implementing scoring. added error message