form model setup