branch for debugging one param write function
fix problem with write(int b)
Merge branch 'write'