return correct value