add debug prints to build