- some restructuring of function call
- added symbol test case