These validity problems can be broken down into those related to the semantics of SMILES strings, versus those that involve invalid syntax. Typically, the former refer to atom valences that are unlikely to occur, or indeed never occur, in drug-like molecules; for example, a 5-coordinate carbon. Here we focus instead on the problem of invalid syntax, the majority of which involve either parenthesis notation for branches or ring closure notation.