Added build second number state and function