some debug and test