implementation of persistence layer and scoreboard feature