removing debug printf