explicitly match against remaining number of 0