C# now working