Looks like the c# version doesn't work