Change in serial interfacing code