add support for scalar values