implemented add a symbol