work on getting alerts working