How did danzo get sharingans on his arm?

Danzo ordered Itachi to kill his clan or the destruction of the whole ninja world could occur. Itachi did without hesitation and then apparantly danzo took the sharingans of the many dead uchiha and put them into his arm and one in his right eye.