almost working version, must debug:
Total score == NaN?!?!? wtf???
and after that should work... i hope