Best AI Tools for Lawyers & Legal Professionals in 2026
Why Legal Professionals Need AI Tools in 2026
The legal industry is undergoing a seismic transformation driven by artificial intelligence. Law firms, solo practitioners, and corporate legal departments are increasingly turning to AI-powered tools to streamline research, automate document review, draft contracts, and manage case workflows more efficiently. In 2026, the adoption of AI in the legal sector has reached an inflection point where firms that fail to leverage these technologies risk falling behind competitors who can deliver faster, more accurate, and more cost-effective legal services.
From natural language processing that can analyze thousands of case files in minutes to machine learning algorithms that predict litigation outcomes, AI tools for lawyers have matured significantly. These platforms now handle everything from due diligence and compliance monitoring to contract lifecycle management and legal research. The result is a dramatic reduction in billable hours spent on routine tasks, allowing attorneys to focus on high-value strategic work that truly requires human judgment and expertise.
Whether you are a solo practitioner looking to compete with larger firms, a corporate counsel managing complex regulatory requirements, or a litigation team preparing for trial, the right AI tools can give you a decisive advantage. In this comprehensive guide, we review the 10 best AI tools for lawyers and legal professionals in 2026, comparing their features, pricing, strengths, and ideal use cases to help you make an informed decision.
How We Evaluated These AI Legal Tools
Our evaluation methodology for AI legal tools focuses on several critical criteria that matter most to legal professionals:
- Legal Research Capabilities – How effectively the tool can search, analyze, and synthesize legal precedents, statutes, and case law
- Document Review & Analysis – The ability to process large volumes of legal documents for relevant information extraction
- Contract Management – Features for drafting, reviewing, and managing contracts throughout their lifecycle
- Accuracy & Reliability – The precision of AI outputs and safeguards against hallucination in legal contexts
- Security & Compliance – Data protection measures, attorney-client privilege safeguards, and regulatory compliance
- Integration – Compatibility with existing legal practice management software and workflows
- Pricing & Value – Cost-effectiveness relative to the time savings and productivity gains delivered
- Ease of Use – How quickly legal professionals can adopt and benefit from the tool
Quick Comparison Table
| Tool | Best For | Key Feature | Starting Price | Rating |
|---|---|---|---|---|
| Harvey AI | Large Law Firms | Custom Legal LLM | Custom Pricing | 9.5/10 |
| Casetext CoCounsel | Legal Research | AI Legal Assistant | $250/mo | 9.3/10 |
| Luminance | Contract Review | AI-Powered Due Diligence | Custom Pricing | 9.1/10 |
| Kira Systems | M&A Due Diligence | Machine Learning Extraction | Custom Pricing | 9.0/10 |
| Relativity | eDiscovery | AI-Assisted Review | Custom Pricing | 8.9/10 |
| LexisNexis AI | Comprehensive Research | Lexis+ AI Platform | $150/mo | 8.8/10 |
| Westlaw Edge AI | Case Law Analysis | Litigation Analytics | $150/mo | 8.7/10 |
| Spellbook | Contract Drafting | AI Contract Generation | $100/mo | 8.6/10 |
| Ironclad | CLM Enterprise | Digital Contracting | Custom Pricing | 8.5/10 |
| DoNotPay | Consumer Legal | AI Lawyer for Everyone | $36/yr | 8.2/10 |
1. Harvey AI
Best for Large Law Firms & Enterprise Legal Teams
Harvey AI has rapidly established itself as one of the most sophisticated AI platforms purpose-built for the legal industry. Developed in collaboration with leading global law firms and backed by significant investment from OpenAI, Harvey AI delivers a custom large language model fine-tuned specifically on legal data, including case law, statutes, regulations, and legal scholarship from multiple jurisdictions.
What sets Harvey AI apart from general-purpose AI tools is its deep understanding of legal reasoning, citation formats, and the nuanced language of law. The platform can perform complex legal research tasks, draft memoranda and briefs, analyze contracts, and provide strategic insights based on relevant precedents. Its outputs include proper legal citations and follow the conventions expected in professional legal documents.
Harvey AI integrates directly into law firm workflows, connecting with document management systems and practice management platforms commonly used in legal environments. The platform also includes robust security measures designed to protect attorney-client privilege and maintain compliance with bar association ethical requirements. For firms handling sensitive matters across multiple practice areas, Harvey AI offers customization options that allow the model to be tailored to specific areas of law.
Key Features
- Custom legal LLM trained on extensive legal datasets
- Multi-jurisdictional legal research and analysis
- Automated drafting of legal memoranda, briefs, and opinions
- Contract review and analysis with clause-level insights
- Regulatory compliance monitoring and updates
- Secure, privilege-protected data handling
- Integration with major legal practice management systems
Pricing
Harvey AI uses custom enterprise pricing based on firm size and usage requirements. Contact their sales team for a tailored quote. Plans typically start in the mid-four-figure monthly range for smaller firms, with enterprise agreements for AmLaw 100 firms.
Pros and Cons
Pros: Purpose-built for legal work, extremely accurate legal reasoning, strong security and privilege protections, excellent integration capabilities, backed by OpenAI technology.
Cons: High cost, limited availability for solo practitioners, requires enterprise onboarding, not suitable for consumer legal needs.
2. Casetext CoCounsel
Best for Legal Research & Case Analysis
Casetext CoCounsel, now part of Thomson Reuters following its acquisition, represents a breakthrough in AI-assisted legal research. CoCounsel functions as a virtual legal research assistant that can understand complex legal questions posed in natural language, search through vast databases of case law and statutes, and provide comprehensive research memoranda complete with citations and analysis.
The platform excels at tasks that traditionally consume significant associate time, including reviewing documents for relevance to specific legal issues, identifying key provisions in contracts, and preparing timelines of events from case files. CoCounsel can process entire document sets and return organized, cited results in a fraction of the time it would take a human researcher.
One of CoCounsel’s most valuable features is its ability to perform parallel search across multiple legal databases simultaneously, cross-referencing results to ensure comprehensive coverage. The tool also includes a citation verification system that checks the validity and current status of cited authorities, helping lawyers avoid relying on overruled or otherwise questionable precedent.
Key Features
- Natural language legal research queries
- AI-powered document review and summarization
- Automated legal memoranda drafting with citations
- Deposition preparation and analysis
- Contract analysis and key provision extraction
- Timeline generation from case documents
- Citation verification and Shepardizing
Pricing
CoCounsel plans start at approximately $250 per user per month, with volume discounts available for firms with multiple seats. Thomson Reuters also offers bundled pricing with Westlaw and other research products.
Pros and Cons
Pros: Exceptional legal research accuracy, comprehensive citation support, strong document review capabilities, backed by Thomson Reuters data, intuitive natural language interface.
Cons: Monthly cost adds up for larger teams, requires Thomson Reuters ecosystem for best results, learning curve for advanced features.
3. Luminance
Best for Contract Review & Due Diligence
Luminance has carved out a strong position in the legal AI market with its powerful contract review and due diligence capabilities. The platform uses proprietary machine learning technology to read and understand legal documents in over 80 languages, making it particularly valuable for international transactions and cross-border legal work.
The core strength of Luminance lies in its ability to process massive volumes of documents quickly and accurately. During M&A due diligence, for example, Luminance can analyze thousands of contracts simultaneously, flagging unusual clauses, identifying risks, and highlighting deviations from standard terms. The platform learns from each interaction, continuously improving its understanding of what matters to specific legal teams and practice areas.
Luminance also offers a contract negotiation module that can automatically redline contracts based on a firm’s preferred positions and playbook rules. This automation significantly reduces the time required for routine contract negotiations while ensuring consistency across all agreements handled by a legal department.
Key Features
- AI-powered contract review across 80+ languages
- Automated due diligence document analysis
- Anomaly detection in contract terms
- Automated contract redlining and negotiation
- Playbook enforcement for consistent contract terms
- Risk identification and compliance flagging
- Integration with virtual data rooms
Pricing
Luminance offers custom pricing based on transaction volume and organizational size. Enterprise plans are tailored to the specific needs of law firms and corporate legal departments.
Pros and Cons
Pros: Excellent multilingual support, powerful due diligence capabilities, automated redlining saves significant time, strong anomaly detection, continuous learning from usage.
Cons: Enterprise pricing may be prohibitive for smaller firms, focused primarily on transactional work, requires initial training period for optimal results.
4. Kira Systems
Best for M&A Due Diligence & Data Extraction
Kira Systems, now part of Litera, specializes in machine learning-powered contract analysis and data extraction. The platform is widely recognized for its exceptional ability to identify and extract specific provisions, clauses, and data points from large sets of legal documents, making it an indispensable tool for M&A due diligence, lease abstraction, and regulatory compliance projects.
What distinguishes Kira from competitors is its extensive library of pre-built machine learning models trained to recognize hundreds of specific contract provisions across multiple document types. These models can identify change of control clauses, assignment restrictions, indemnification provisions, intellectual property ownership terms, and many other critical contract elements with remarkable accuracy.
Kira also allows legal teams to build custom extraction models tailored to their specific needs. This flexibility makes it valuable not just for one-off due diligence projects but as an ongoing tool for contract management and compliance monitoring. The platform integrates with common document management systems and can export extracted data in formats compatible with spreadsheets and databases used by legal teams.
Key Features
- 800+ pre-built contract provision models
- Custom model training for specific extraction needs
- Bulk document processing and analysis
- Intelligent data extraction and organization
- Lease abstraction and analysis
- Regulatory compliance review
- API integration with document management systems
Pricing
Kira Systems uses project-based and enterprise subscription pricing. Contact their sales team for specific quotes based on your document volumes and use cases.
Pros and Cons
Pros: Industry-leading provision extraction accuracy, extensive pre-built model library, customizable for specific needs, excellent for large-scale due diligence, strong integration options.
Cons: Primarily focused on extraction rather than full legal analysis, enterprise pricing, steep learning curve for model customization.
5. Relativity
Best for eDiscovery & Litigation Support
Relativity is the dominant platform in the eDiscovery space, and its AI capabilities have made it even more powerful for litigation support teams. The platform’s AI-assisted review features, powered by its aiR technology, can dramatically reduce the time and cost associated with document review in litigation, investigations, and regulatory matters.
Relativity’s AI goes beyond simple keyword searching, using advanced analytics to understand document concepts, identify privileged materials, categorize documents by relevance, and prioritize the most important materials for attorney review. The platform supports predictive coding workflows that can reduce review populations by 50-80%, delivering significant cost savings on large-scale litigation matters.
The platform also includes communication analysis tools that can map relationships between custodians, identify key conversations, and visualize communication patterns that may be relevant to a case. These analytics capabilities provide litigation teams with strategic insights that would be nearly impossible to develop through manual review alone.
Key Features
- AI-assisted document review (aiR)
- Predictive coding and technology-assisted review
- Communication analysis and relationship mapping
- Privilege detection and logging
- Conceptual analytics and clustering
- Production management and redaction
- Cloud-based RelativityOne deployment
Pricing
Relativity offers several deployment options including RelativityOne (cloud SaaS) with per-GB pricing, and server-based licensing. RelativityOne typically starts around $18-25 per GB per month, with volume discounts for large matters.
Pros and Cons
Pros: Industry standard for eDiscovery, powerful AI-assisted review, comprehensive analytics, scalable for massive document sets, extensive third-party integrations.
Cons: Complex platform with significant learning curve, per-GB pricing can be expensive for large matters, requires specialized administrators, overkill for smaller firms.
6. LexisNexis AI (Lexis+ AI)
Best for Comprehensive Legal Research
LexisNexis has integrated generative AI across its Lexis+ platform, creating one of the most powerful legal research tools available. Lexis+ AI combines the vast LexisNexis database of legal content with advanced AI capabilities, allowing lawyers to conduct research using conversational queries and receive comprehensive, cited answers.
The platform stands out for its proprietary legal AI that has been trained specifically on the LexisNexis database, ensuring responses are grounded in verified legal authorities. When users ask legal research questions, Lexis+ AI provides answers with pinpoint citations to relevant cases, statutes, regulations, and secondary sources, along with explanations of how each authority relates to the query.
Lexis+ AI also includes practical guidance features, offering access to expert-written practice notes, forms, and checklists that can be customized for specific matters. The platform’s Shepard’s Citations integration provides instant verification of cited authorities, alerting researchers to overruled cases or negative treatment that could undermine their arguments.
Key Features
- Conversational AI legal research interface
- Comprehensive citation to LexisNexis database
- Shepard’s Citations integration for authority verification
- Practice area-specific guidance and forms
- Legal drafting assistance with cited templates
- Regulatory monitoring and compliance alerts
- Multi-jurisdictional research capabilities
Pricing
Lexis+ AI pricing starts at approximately $150 per user per month, with premium tiers offering additional features. Volume licensing and bundled pricing with other LexisNexis products are available.
Pros and Cons
Pros: Grounded in verified LexisNexis database, excellent citation accuracy, Shepard’s integration, comprehensive content coverage, practical guidance resources.
Cons: Requires LexisNexis subscription, pricing can be significant for smaller firms, some features require premium tiers, occasional latency with complex queries.
7. Westlaw Edge AI
Best for Litigation Analytics & Case Law Analysis
Westlaw Edge, Thomson Reuters’ flagship legal research platform, has incorporated AI capabilities that extend far beyond traditional search. The platform’s litigation analytics feature uses AI to analyze millions of court records, providing attorneys with data-driven insights about judges, courts, opposing counsel, and case outcomes that can inform litigation strategy.
The Westlaw Edge AI assistant allows natural language research queries and delivers answers with comprehensive citations to the Westlaw database. The platform’s KeyCite system provides real-time status checking of legal authorities, while AI-powered brief analysis tools can review uploaded briefs and identify additional authorities that should be cited or addressed.
Westlaw Edge also excels in its Quick Check feature, which can analyze a legal document and identify relevant authorities that may have been missed. This capability is particularly valuable for quality control, ensuring that briefs and memoranda cite all relevant precedent before filing.
Key Features
- AI-powered legal research with natural language queries
- Litigation analytics with judge and court data
- Quick Check for comprehensive authority verification
- KeyCite for real-time authority status
- Brief analysis and additional authority identification
- Statutes Compare for legislative changes
- AI-assisted drafting with Westlaw citations
Pricing
Westlaw Edge pricing starts at approximately $150 per user per month for basic plans, with premium tiers for litigation analytics and advanced features. Enterprise agreements offer volume discounts.
Pros and Cons
Pros: Best-in-class litigation analytics, comprehensive case law database, excellent Quick Check feature, strong KeyCite integration, trusted by courts and practitioners.
Cons: Premium pricing for full feature access, learning curve for analytics features, some AI features require additional subscription, primarily US-focused for analytics.
8. Spellbook
Best for Contract Drafting & Review
Spellbook is an AI-powered contract drafting and review tool designed specifically for legal professionals. Built on top of large language models and trained on a vast database of legal agreements, Spellbook integrates directly into Microsoft Word, allowing lawyers to draft, review, and negotiate contracts within their existing workflow without switching between applications.
The platform can suggest contract language based on the context of the document being drafted, flag potentially problematic clauses, and recommend alternative provisions that better protect the client’s interests. Spellbook understands the structure and conventions of legal agreements, ensuring that its suggestions are appropriate for the specific type of contract being worked on.
One of Spellbook’s most practical features is its ability to detect missing clauses that are standard for a given contract type. If a commercial lease is missing an assignment clause, or a software license agreement lacks limitation of liability language, Spellbook will alert the drafter and suggest appropriate provisions. This quality control function helps prevent costly omissions in legal documents.
Key Features
- AI contract drafting within Microsoft Word
- Clause suggestion and language recommendations
- Missing clause detection and alerts
- Problematic provision flagging
- Contract summarization and key term extraction
- Custom playbook rule enforcement
- Version comparison and change tracking
Pricing
Spellbook starts at approximately $100 per user per month, with team plans offering volume discounts. A free trial is available for qualified legal professionals.
Pros and Cons
Pros: Seamless Microsoft Word integration, excellent clause suggestion quality, practical missing clause detection, affordable compared to enterprise alternatives, easy to adopt.
Cons: Limited to contract work, requires Microsoft Word, less comprehensive than full practice management solutions, primarily English-language contracts.
9. Ironclad
Best for Enterprise Contract Lifecycle Management
Ironclad is a comprehensive digital contracting platform that leverages AI throughout the entire contract lifecycle, from creation and negotiation through execution and post-execution management. The platform is designed for enterprise legal teams and companies that manage large volumes of contracts and need to ensure consistency, compliance, and efficiency across all their agreements.
Ironclad’s AI capabilities include intelligent contract creation using approved templates and clause libraries, automated workflow routing for approvals, and smart extraction of key terms and obligations from executed agreements. The platform’s Ironclad AI assistant can answer questions about contract portfolios, identify upcoming obligations, and flag compliance issues across thousands of agreements simultaneously.
The platform particularly excels in its workflow automation capabilities, which allow legal teams to create standardized processes for common contract types that involve input from multiple stakeholders. Sales contracts, vendor agreements, NDAs, and employment agreements can each have their own automated workflows with appropriate approval chains and compliance checks built in.
Key Features
- AI-powered contract creation from templates
- Automated workflow routing and approvals
- Smart data extraction from executed contracts
- Obligation management and deadline tracking
- Clause library with AI-powered search
- Integration with Salesforce, Slack, and other tools
- Repository analytics and reporting
Pricing
Ironclad offers custom enterprise pricing based on contract volume and user count. The platform typically serves mid-market to enterprise organizations with significant contract volumes.
Pros and Cons
Pros: Comprehensive contract lifecycle coverage, excellent workflow automation, strong integration ecosystem, scales well for enterprise needs, powerful analytics.
Cons: Enterprise pricing may be prohibitive for smaller organizations, implementation requires significant setup time, focused on contracts rather than broader legal needs.
10. DoNotPay
Best for Consumer Legal Assistance & Accessibility
DoNotPay takes a fundamentally different approach to legal AI by focusing on making legal services accessible to consumers and small businesses. Often described as a robot lawyer, DoNotPay uses AI to help individuals navigate common legal situations that typically require expensive attorney consultation, from fighting parking tickets and canceling subscriptions to negotiating bills and filing small claims court paperwork.
The platform has expanded significantly to cover a wide range of consumer legal needs including demand letters, cease and desist notices, FOIA requests, and airline compensation claims. DoNotPay walks users through legal processes step by step, generating the necessary documents and correspondence based on the user’s specific situation and applicable laws.
While DoNotPay is not a substitute for a licensed attorney in complex legal matters, it fills an important gap in the legal services market by providing affordable access to basic legal tools for common situations. The platform’s AI can analyze the strength of a user’s case, recommend the best course of action, and generate appropriate legal documents, all for a fraction of what traditional legal services would cost.
Key Features
- AI-powered legal document generation
- Automated dispute resolution for common issues
- Small claims court filing assistance
- Demand letter and cease and desist creation
- Subscription cancellation automation
- FOIA and public records requests
- Consumer rights enforcement tools
Pricing
DoNotPay is available for $36 per year, making it one of the most affordable legal AI tools on the market. The subscription provides access to all features and document types.
Pros and Cons
Pros: Extremely affordable, accessible to non-lawyers, covers wide range of consumer legal needs, simple step-by-step interface, constantly adding new use cases.
Cons: Not suitable for complex legal matters, limited to common consumer issues, no replacement for professional legal advice, some features vary by jurisdiction, accuracy concerns for nuanced situations.
How to Choose the Right AI Legal Tool
Selecting the right AI tool for your legal practice depends on several factors specific to your needs and circumstances. Here are the key considerations to guide your decision:
Practice Area Focus
Different AI tools excel in different areas of legal practice. Litigation-focused firms will benefit most from Relativity and Westlaw Edge’s analytics, while transactional practices should prioritize Luminance, Kira Systems, or Spellbook. General practice firms may find the most value in comprehensive research platforms like CoCounsel or Lexis+ AI.
Firm Size and Budget
Solo practitioners and small firms should look at tools with transparent, affordable pricing like Spellbook or LexisNexis entry-level plans. Mid-size firms can justify platforms like CoCounsel or Westlaw Edge, while large firms and enterprise legal departments have the budget for Harvey AI, Luminance, or Ironclad.
Integration Requirements
Consider what tools you already use and how new AI solutions will fit into your existing workflow. If your firm relies heavily on Microsoft Word for drafting, Spellbook offers seamless integration. If you use Salesforce for client management, Ironclad’s CRM integration may be valuable. Ensure any new tool can work with your document management system and other practice technology.
Security and Compliance
Legal professionals have heightened obligations regarding data security and client confidentiality. Evaluate each tool’s security certifications, data handling policies, and compliance with relevant regulations such as GDPR, SOC 2, and bar association ethical requirements. Tools that process client data should offer enterprise-grade encryption and clear data retention policies.
Frequently Asked Questions
What is the best AI tool for legal research in 2026?
Casetext CoCounsel and Lexis+ AI are widely regarded as the best AI tools for legal research in 2026. CoCounsel excels at comprehensive research memoranda with accurate citations, while Lexis+ AI provides access to the extensive LexisNexis database with conversational AI search capabilities. The best choice depends on which research database your firm prefers and your specific research workflow needs.
Are AI legal tools safe to use for confidential client matters?
Leading AI legal tools like Harvey AI, CoCounsel, and Luminance are designed with attorney-client privilege and data security as core priorities. These platforms typically offer SOC 2 Type II certification, end-to-end encryption, and contractual guarantees regarding data handling. However, lawyers should always review the security and privacy policies of any AI tool before processing confidential client information and ensure compliance with their jurisdiction’s ethical rules regarding technology use.
Can AI replace lawyers in 2026?
AI cannot replace lawyers in 2026, but it is significantly augmenting their capabilities. AI tools excel at routine tasks such as document review, legal research, and contract analysis, but they lack the judgment, creativity, ethical reasoning, and client relationship skills that are essential to legal practice. The most successful legal professionals are those who leverage AI to handle routine work while focusing their own time on strategic thinking, advocacy, and client counseling.
How much do AI legal tools cost?
AI legal tools range from $36 per year for consumer-focused platforms like DoNotPay to custom enterprise pricing in the thousands of dollars per month for platforms like Harvey AI and Luminance. Most professional-grade tools for attorneys fall in the $100-$300 per user per month range. Many providers offer free trials or demos so you can evaluate the tool before committing to a subscription.
Which AI tool is best for contract review?
For contract review, Luminance and Kira Systems are the top choices for large-scale due diligence and document analysis. Spellbook is excellent for individual contract drafting and review within Microsoft Word. For enterprise contract lifecycle management, Ironclad provides the most comprehensive solution covering creation through post-execution management.
Do I need technical expertise to use AI legal tools?
Most modern AI legal tools are designed to be user-friendly for legal professionals without technical backgrounds. Platforms like CoCounsel, Spellbook, and Lexis+ AI use natural language interfaces that feel familiar to lawyers. However, more advanced tools like Kira Systems and Relativity may require some training to fully leverage their customization and analytics capabilities. Most vendors offer onboarding support and training resources.
What are the ethical considerations for using AI in legal practice?
Key ethical considerations include maintaining competence in understanding AI capabilities and limitations, preserving client confidentiality when using cloud-based tools, avoiding over-reliance on AI for legal judgment, properly supervising AI-generated work product, and disclosing AI use to clients where required. Bar associations in many jurisdictions have issued guidance on the ethical use of AI in legal practice, and lawyers should review the applicable rules in their jurisdictions.
Can AI legal tools work with non-English documents?
Some AI legal tools offer multilingual support, with Luminance being particularly strong in this area with coverage of over 80 languages. Harvey AI and Lexis+ AI also offer some multilingual capabilities. However, the depth of legal analysis in non-English languages may vary, and tools trained primarily on English-language legal data may be less accurate when working with foreign-language documents or non-common-law legal systems.
Final Verdict
The AI tools available for legal professionals in 2026 represent a significant leap forward in legal technology. For large law firms handling complex matters across multiple practice areas, Harvey AI offers the most sophisticated purpose-built legal AI available. For legal research, the combination of CoCounsel with Thomson Reuters’ data or Lexis+ AI with the LexisNexis database provides comprehensive, reliable research capabilities with proper citations.
Transactional lawyers will find the most value in Luminance and Kira Systems for due diligence work, while Spellbook offers an accessible and affordable contract drafting solution. Litigation teams should consider Relativity for eDiscovery and Westlaw Edge for litigation analytics. For enterprise contract management, Ironclad provides end-to-end lifecycle coverage.
The key to success with legal AI is selecting tools that align with your specific practice needs, integrating them thoughtfully into existing workflows, and maintaining appropriate oversight of AI-generated work product. As these tools continue to evolve, legal professionals who embrace AI now will be well-positioned to deliver better client outcomes while operating more efficiently.
Find the Perfect AI Tool for Your Needs
Compare pricing, features, and reviews of 50+ AI tools
Browse All AI Tools →Get Weekly AI Tool Updates
Join 1,000+ professionals. Free AI tools cheatsheet included.