Masters thesis 22.9.2013