#2 added comments and set write buffer size