Implements get_alert method