added print statements to test out serial code