added primitives conversion example