create duck object