updated c# and f# prob 0003