add some debug output to build