Oops. Made variables local again...