init variables in run time.