first draft of moment function button support