section on user-defined func

@lileicc