Fixed typos, rewrote part of bridge