SAM best practices