initialize local vars