 During this time he composed six operas, some of which premiered at Innsbruck.After the death of his wife, who gave him three children, he came back to Prague where in 1866 he became the director of a prominent organ school until he retired in 1890.This school was attended by such famous composers as Leoš Janáček and Josef Bohuslav Foerster.