added conversion example to docs