working on putting the data in table format