updated weighted random guessing