it depends on which value is the lowest