moving variables around