create global variable for valid characters