Add number to problem struct.