local-ize some variables.