add the typing control