adds type to table