added code to build symbols table