serial library support