new method.
new method. inserts data into table obtained from json array
new method.
new method. inserts data into table from json aray
new method
small changes