Debug and API functionality works!