Made variables global.