changed threshold and mapped more characters