Masters thesis 19.9.2013