added convert funcs