add primitive converters