Adding logging statement