Rachmaninoff had great command of counterpoint and fugal writing, thanks to his studies with Taneyev. The above-mentioned occurrence of the "Dies Irae" in the Second Symphony (1907) is but a small example of this. Very characteristic of his writing is chromatic counterpoint. This talent was paired with a confidence in writing in both large- and small-scale forms. The Third Piano Concerto especially shows a structural ingenuity, while each of the preludes grows from a tiny melodic or rhythmic fragment into a taut, powerfully evocative miniature, crystallizing a particular mood or sentiment while employing a complexity of texture, rhythmic flexibility and a pungent chromatic harmony.