basic serial commonication simulation