Add error handling
Add temple alert example