add doc about the window auto statement