added more stack printing