add some comment for writer