delete printf info
add an explanation about the conditon of this function can work well.