return correct variable