reword; use lesser heading for functions
rename `module` to `state-function`