table: static to dynamic