adding output for debug