changed print debugging