chorale
rewriting optionals
network model