M.A.Sc. thesis