return scalar instead of a length-one vector