added some debug for testing