converted relation symbol strings to enum for faster comparisons and type-safety