Apply function that create a random winner

Signed-off-by: Park Su Hwan <nasuhwan@gmail.com>