changed variable naming, added exception characters