Removing fprintf reference