serial and data1 working