rename a function, store re-used constants
basic func is done