adding serial protocol of commands