normal function vs constructor function