use render to return the string