added tables into forms