cleaning up, optimizing, sanitizing serial com