added code for looping over import table data