filtered tables for characters that cause errors
parsing functionworks now; re-named several variables to reduce redundancies