Master thesis of university of ottawa