add back coin threshold
merge the serial output