add flush method, remove redundant channel count member