added appendmodel()