adding a form to index