Master Of Science thesis