encode is true by default, you can delete it.