adding logging info for debugging