Added geater debug output for API interfacing