Create dynamic table