set local variables