In a paper on the atomic theory, published in 1826, he anticipated to a remarkable extent some ideas which are frequently supposed to belong to a later period; and the continuation of these studies led him to the ideas about substitution ( metalepsis ) which were developed about 1839 into the theory ( Older Style Theory ) that in organic chemistry there are certain types which remain unchanged even when their hydrogen is replaced by an equivalent quantity of a halide element.