setup locals