Added thesis, removed redundancies