added two debug messages for clarity