add some debug method