50% of c# version