fixed typo and speed