support for scalar types