add code to support help function