implemented interface for the scores + some cleaning up