refactored prototype winner