Increased size of val_arrary to 18