working on some serial stuff