server-side conversion