"improve the 'Istyping' code"