sle code examples