Added info onto table using an array