texts and alerts working