allow string to be returned from template fn