add debug for testing