removed "fprintf"