added duplicate symbol errors, terminal label support