remove printf calling