add score

* also fix lots of formatting