Final version minor thesis