added Score. Removed some debugging output.