Define vars at the top.