further work on nested forms