Improve functions for tables

Signed-off-by: Filipe Leuch Bonfim <flb09@c3sl.ufpr.br>