Update Fun.cs

code cleanup