refactor of err handling with rs-hiscores