more work on model editor.