further work on score implementation. does not work yet…