Gradually it became more and more necessary for composers to write exactly what notes they wanted. The modern system of keys was developing. They developed the system of key signatures and accidentals (sharps and flats which are not in the key signature, but written as and when they are needed). The practice of musica ficta gradually ended.