initialize all variables