organization and cleaning for dynFunction.cs