What is the process to draw a line more than one time and save it automatically?