Added method for building an array list of table values