adding begin/end to table_view for test system