shows how to use StringBuffer and read write object