Please declare vars at the top.