added message to panic() calls