check for characters