offline typing works