added extra print debugging