Removed and Replaced Bad Arduino Code