set the correct variable