add line cache