ENH:add some comment and adjust some interface