fixed add_symbol to fit in other functions