renaming reproduce function to mimic