model creation and tune associations