define const variable in function.