getting rid of hardware and software serial