add sections list function, close #1