return a value when we have to do so