add wine function ready.