updated to reflect new boolean parameter on lexrec helper functions