added logging statement