removing logging statement