add primitive serial support- still needs to be debugged