initializing local vars