adding log for debugging