some debug info and comments