Do you mean to call it only one time and store the value in variable?