complete buffer init