finished add form, added state code loader