Renamed scaneForWord to takeToken
Fixed a typo