more work on serial interface