There are a ton of threads on this subject, and should it be built to go over the top rail, under or flush. Many do it different ways and even secure there winter cover in different ways. I went under the top rail and use the steel cable to secure my cover. Do a search about winter covers, decks, etc. to help you determine your best needs.