added method to display table status