removing unnecessary fprintfs