Lab4 serial working