spw_term model added