insert data almost done