added debug logging info