Library example: SAM setting example added