finished lib_serial