- Checking in the base api front end interface function
- added a debug variable, toggling will print output or not print output