optimizing the hell out of the serial coms