cache prefix in var. Line count method added