added output for debug