added serial write..