added checks for commas and parentheses. Still need to add the functionality behind the checks