vineyards code working