enable debug for testing