analyzer function failing