started working on the line_memory