Matteo's code for secondary literature added