added an array that contains allowed characters