make convertion functions public