modelexc constructor