Added diagnostic message for debugging