deleted unused method showTable