adding constructor function models