add in serial logic