references are now checked against the symbol table for their validity