declare variable at start of code block.