Adding serial robot code