create dinamic table