line number memory implement