Define table in tasks