Second chapter finished, changes to references