modified model and created input forms