refactor prize management