change Duck class