updated serial to send 3 digit value