update - added serial code for second project