added method to obtain the table values