xx add more logs for testing