Changed some variables around.