add converters

Signed-off-by: SButterfly <sbutterfly@outlook.com>