implement get and insert single line