Updated to new arduino system