-----Function-----
- Initilize testout function
- Need test/check & improve