Abstracted out typing speed and removing some debug output