Tried to get a better schematic, ordered references in the order they are cited