added when_expand_table3