switched form to table